package com.stormrage.edu.serv.Index.impl;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.stormrage.edu.dao.index.IdxImageDao;
import com.stormrage.edu.serv.Index.IdxImageServ;
import com.stormrage.entity.index.IdxImage;
import com.stormragetech.core.exception.StormrageTechException;

/**
 * @Title: IdxImageServImpl.java
 * @Package com.stormrage.edu.serv.Index.impl
 * @Description: 首页图片 Service
 * @author www.stormragetech.com
 * @date 2016年4月16日
 * @version V1.0
 */
@Service
public class IdxImageServImpl implements IdxImageServ {

	private static final Logger logger = LoggerFactory.getLogger(IdxImageServImpl.class);

	@Autowired
	private IdxImageDao idxImageDao;

	@Override
	public List<IdxImage> queryList() throws StormrageTechException {

		logger.debug(" 【 Serv 】- 【 IdxImageServ 】- 【 QueryList 】-【 STARTED 】");

		List<IdxImage> array = idxImageDao.queryList();

		logger.debug(" 【 Serv 】- 【 IdxImageServ 】- 【 QueryList 】-【 COMPLETED 】");
		return array;

	}

}
